#include <QCoreApplication>
#include <iostream>
#include <math.h>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double S,L,D;
    const double PI = 3.14;
    cout<<"Vvedite S kruga:";
    cin>>S;
    L=2*PI*sqrt(S/PI);
    D=2*sqrt(S/PI);
    cout<<"Diametr="<<D<<" Dlina okruzhnosti="<<L;

    return a.exec();

}
